Skip to content

feat(applet): rename 'Copy Path' to 'Copy Key' in state field editor - #3

Open
arena-ai-coding-agent[bot] wants to merge 1 commit into
mainfrom
fix/issue-840-copy-key
Open

feat(applet): rename 'Copy Path' to 'Copy Key' in state field editor#3
arena-ai-coding-agent[bot] wants to merge 1 commit into
mainfrom
fix/issue-840-copy-key

Conversation

@arena-ai-coding-agent

Copy link
Copy Markdown

Summary

The state field editor has a context-menu action labeled Copy Path. That action copies the selected node's key (data.key), not the full JS object path (e.g. status.antenna.1.alignment.position.optimal). The misleading label confuses users into expecting the full path.

Change

Rename the label Copy PathCopy Key so it accurately reflects what is copied.

Why not add a third "Copy full path" option?

The original issue also suggests potentially adding a new action to copy the full JS path. That is a larger feature change, so this PR only fixes the misleading label as a first step. The path is available via data.path, and could be added separately.

Tests

lint passes. No behavior/material change beyond the label text.

Closes vuejs#840

The copy action on a state field copies the selected node's key, not the
full object path. Renaming the label to 'Copy Key' avoids misleading
users into thinking it copies the JS path.

Closes vuejs#840
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Copy Path should be renamed Copy Key

1 participant